//
//  YZMGridView.h
//  YZMicroStock
//
//  Created by wangminhong on 16/3/28.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, YZMGridViewType){
    YZMGridViewTypeGrid,
    YZMGridViewTypePrincipal
};

@interface YZMGridView : UIView

@property (nonatomic, assign) YZMGridViewType type;
@property (nonatomic, strong) NSArray *dataList;
@property (nonatomic, strong) void (^clickAction)(NSInteger index, id data);

@end
